package com.gmail.amos.zuercher.StonemenMustDie.Handler;

import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerMoveEvent;

public class PlayerMoveHandler implements Listener {

	private IPlayerMoveHandler iPlayerInterface;

	public PlayerMoveHandler(IPlayerMoveHandler stonemenmustdie) {
		this.iPlayerInterface = stonemenmustdie;
	}
	
	@EventHandler
	private void handle(PlayerMoveEvent event) {
		iPlayerInterface.playerMove(event);
	}

}
